package com.hdoit.apollo.logical.shop.dao;

import java.util.List;

import com.hdoit.apollo.logical.shop.model.Customer;
import com.hdoit.apollo.logical.viewmodel.shop.CustomerSearch;
import com.tennetcn.data.dao.base.ISuperDao;
/**
 * @author      tancongzhu
 * @email       
 * @createtime  2018年04月02日 17:46:53
 * @comment
 */
public interface ICustomerDao extends ISuperDao<Customer>{

	public List<Customer> getCustomerListByCargoId(String cargoId);

	public Customer getCustomerByCustomerId(String customerId);

	public Customer queryCustomerInfoByCustomerId(String customerId);

	public Customer getCustomerById(String customerId, String shopId);

	public Customer getRetailCustomer(String shopId);

	public List<Customer> getList(CustomerSearch search);

	public Customer queryModelByOpenId(String openId, String shopId);

}
